package modules

import (
	"github.com/kataras/iris/mvc"
	"cn.pinming/gencode/modules/sys/controller"
	"cn.pinming/gencode/modules/sys"
	"cn.pinming/gencode/modules/gen"
)

func InitRounter(app *mvc.Application) {
	//默认首页
	app.Handle(new (controller.IndexController))
	sys.InitRounter(app)
	//注册代码生成路由
	gen.InitRounter(app)
}
